<html>

<body>

 <iframe id="tab_panel_1" name="tab_panel11" src="http://bss.talentbank.com.cn/t1.html" style="width:100%;height:80%"></iframe>  
<input type="button" onclick="javascript:aa();"/>
</body>
</html>
 <script>
   function aa(){
      var a= document.getElementById("tab_panel_1"); 
      //console.log(a);
      console.log(a.contentWindow);
//      a.contentWindow.document.test();
      //alert(a.aaa)
      a.contentWindow.test();
     
   }
   function cc(){

      alert(window.frames["tab_panel_1"]);
      alert(document.frames("tab_panel11"));
      //	window.frames["tab_panel_1"].test();
      alert(window.frames["tab_panel_1"].aaa);
      console.log(window.frames["tab_panel_1"]);
       //document.frames("tab_panel11").window.test();
      // console.log(document.frames["tab_panel_1"]);
   }
   //aa();
 </script>